﻿
function getPrice(dish, menu) {
    var d = dish.replace(/[0-9.]+/g, "");
    var pos = menu.indexOf(d);
    var d_len = d.length;
    var m_s = menu.substring(pos + d_len);
    var price = parseFloat(m_s);
    return price;
}
